<?php

namespace App\Models\Landscaping;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;

class ParkProject extends Model
{
    use SoftDeletes;
	protected $guarded = [];

	//根据项目查询工种
	public function project_post()
	{
		return $this->belongsToMany(\App\Models\SystemManagement\Post::class,'park_project_posts','project_id','post_id');
	}

}
